/* Papastefanos Serafeim */
/* Sunarthseis ouras */

#ifndef QUE_H
#define QUE_H

#include <stdio.h>
#include <stdlib.h>

typedef struct _Node {
	char *data;
	struct _Node *next;
} Node;

typedef struct _Queue {
	struct _Node *first;
	struct _Node *last;
	unsigned int size;
} Queue;

void enque(char* i, Queue *q);
char* deque(Queue *q);
void viewQueue(Queue *q);
Queue *createQueue(void);
int isEmpty(Queue *q);
void freeQueue(Queue *q);

#endif //QUE_H
